package com.goods.business.service;

import com.goods.common.model.system.User;
import com.goods.common.vo.business.HealthVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

public interface BizHealthService {
    /**
     * 检查用户是否健康打卡
     * */
    HealthVO checkIsReport(User user);

    /**
     * 保存用户的健康打卡信息
     * @param healthVO
     */
    void saveUserHealthStatus(HealthVO healthVO,User user);

    /**
     * 根据用户查询打卡记录
     * @param user
     * @return
     */
    PageVO<HealthVO> getHistoryByUser(Map<String,Object> queryMap ,User user);
}
